import request from '@/router/axios';

export const getActiveAccountList = (offerId) => {
  return request({
    url: '/api/beetles-business/account/get-tt-active-account',
    method: 'get',
    params: {
      offerId
    }
  })
}

export const getAppList = (platformId, isIos) => {
  return request({
    url: '/api/beetles-offer/tiktok-campaign/campaign/get-app',
    method: 'get',
    params: {
      platformId: platformId,
      isIos: false
    }
  })
}

export const refreshAppList = (platformId, isIos) => {
  return request({
    url: '/api/beetles-offer/tiktok-campaign/campaign/refresh-app',
    method: 'get',
    params: {
      platformId: platformId,
      isIos: false
    }
  })
}
